<template>
  <div class="wraper" ref="wraper">
    <p>基础版</p>
    <a-sticky>
      <nav>
        <h3>导航1</h3>
      </nav>
    </a-sticky>
  </div>
</template>

<style scoped>
h3 {
  outline: 1px solid #fff;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
}
</style>